﻿#ifndef CHECKIN_H
#define CHECKIN_H

#include "icheckin.h"
#include "define.h"
#include "../../include/commdef.h"
#include "../../include/itmodelbaseimpl.h"

class ITFramework;
class ITLogger;
class ITCommon;
class CheckIn : public QObject, public ITModelBaseImpl<ICheckIn>
{
	Q_OBJECT
public:
    static CheckIn* GetInstance() {static CheckIn __instance; return &__instance;}
    void SetFramework(ITFramework* pFrm);
public:
    CheckIn();
    virtual ~CheckIn();
public:
    void OnSend(TUICheckIn_request_Param *pInArgs, TUICheckIn_reply_Param *pOutArgs);
    void OnSendReply(TUICheckIn_reply_Param *pInArgs, TObject* pOutArgs);

    T_DECLARE_INVOKE
private:
    ITFramework *m_pFramework;
    ITLogger    *m_pLogger;
    ITCommon    *m_pcommon;
};

#endif // CHECKIN_H
